package com.drama.api.sys.order.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
public class SysOrderRechargeVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "充值用户")
    private String userName;

    @ApiModelProperty(value = "充值类型 1 支付宝 2 微信")
    private Integer orderType;

    @ApiModelProperty(value = "充值金额")
    private BigDecimal orderMoney;

    @ApiModelProperty(value = "充值商品数量")
    private String orderNum;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @ApiModelProperty(value = "支付时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderDate;

    @ApiModelProperty(value = "交易单号")
    private String orderNo;
}